FiscalException class
Thrown when a fiscal operation fails for non-auth reasons: network errors, malformed responses, or server-side refusals. Carries the HTTP status when one was received.
- Inheritance
-
- Object
- KoolbaseException
- FiscalException
Constructors
- FiscalException(String message, {int? statusCode})
-
const
Properties
- code → String?
-
The server's stable error code, when it sent one. Prefer branching on the
exception type; this is for logging and for codes the SDK does not yet map.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
What went wrong, in words. From the server where it said something useful.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited