The page you navigated to does not exist, so we brought you to the closest page to it.
flytekit.models.core.errors
class ContainerError(
code: str,
message: str,
kind: int,
origin: int,
timestamp: google.protobuf.timestamp_pb2.Timestamp,
worker: str,
)
| Parameter |
Type |
Description |
code |
str |
A succinct code about the error |
message |
str |
Whatever message you want to surface about the error |
kind |
int |
A value from the ContainerError.Kind enum. |
origin |
int |
A value from ExecutionError.ErrorKind. Don’t confuse this with error kind, even though both are called kind. |
timestamp |
google.protobuf.timestamp_pb2.Timestamp |
|
worker |
str |
|
| Property |
Type |
Description |
code |
None |
:rtype: Text |
is_empty |
None |
|
kind |
None |
:rtype: int |
message |
None |
:rtype: Text |
origin |
None |
The origin of the error, an enum value from ExecutionError.ErrorKind |
timestamp |
None |
The timestamp of the error, as number of seconds and nanos since Epoch |
worker |
None |
The worker name where the error originated |
def from_flyte_idl(
proto,
)
| Parameter |
Type |
Description |
proto |
|
|
def serialize_to_string()
:rtype: Text
:rtype: flyteidl.core.errors_pb2.ContainerError
class ErrorDocument(
error,
)
| Parameter |
Type |
Description |
error |
|
|
| Property |
Type |
Description |
error |
None |
:rtype: ContainerError |
is_empty |
None |
|
def from_flyte_idl(
proto,
)
| Parameter |
Type |
Description |
proto |
|
|
def serialize_to_string()
:rtype: Text
:rtype: flyteidl.core.errors_pb2.ErrorDocument