OpenApiException class
An input failure with optional source coordinates.
- Implemented types
- Implementers
Constructors
- OpenApiException(String message, {Uri? sourceUri, String? documentPath, Object? cause, SourceLocation? location})
-
Records an input failure and its available source coordinates.
const
Properties
- cause → Object?
-
Underlying error, when available.
final
- documentPath → String?
-
JSON Pointer to the affected value.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- location → SourceLocation?
-
Line, column, and offset when the decoder can locate the error.
final
- message → String
-
Human-readable diagnostic message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceUri → Uri?
-
URI of the source document, when available.
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