public static function failed(Phone $phone, Error $error, string $messageId = null): Result
    {
        return new self($phone, false, $messageId, $error);
    }
public static function failed(Phone $phone, Error $error, string $messageId = null): Result
    {
        return new self($phone, false, $messageId, $error);
    }
public static function failed ( Phone $ phone , Error $ error , string $ messageId = null ) : Result { return new self ( $ phone , false , $ messageId , $ error ) ; }
Create failed result

@param Phone  $phone
@param Error  $error
@param string $messageId

@return Result
Create failed result