TaskException class final
A failure Google's runtime reported while creating or running a task, on any platform and in any family.
- Inheritance
-
- Object
- MediaPipeException
- TaskException
Constructors
- TaskException(String message, {int? statusCode, Object? cause})
-
Preserves Google's message, an optional native status code and whether
the failure was a refused GPU.
const
Properties
- cause → Object?
-
The original failure, if one was available.
finalinherited
-
True when MediaPipe refused
Delegate.gpuon this machine, for example on Linux without EGL or with only a software renderer such as llvmpipe. The package never retries on the CPU; create a CPU task instead.final - hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A description suitable for logs or an error message.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
MediaPipe's status code, when the failure came from its native API.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited