Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Oct 24, 2024
1 parent 15d4904 commit 19ca24f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions flytekit/exceptions/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,3 @@ class FlyteMissingReturnValueException(FlyteCompilationException):

def __str__(self):
return f"{self.fn.__name__} function must return a value. Please add a return statement at the end of the function."


class FlyteTypeTransformerFailedError(FlyteUserException):
_ERROR_CODE = "USER:TypeTransformerFailedError"

def __init__(self, transformer_name: str, value: typing.Any):
self.transformer_name = transformer_name
self.value = value

def __str__(self):
return f"Failed to transform value {self.value} using transformer {self.transformer_name}"

0 comments on commit 19ca24f

Please sign in to comment.