ServerException class final
Exception thrown when a server error occurs.
- Inheritance
-
- Object
- ApiException
- ServerException
Constructors
- ServerException({required String message, int? code = 500, StackTrace? stackTrace})
-
Exception thrown when a server error occurs.
const
Properties
- code → int?
-
The error code.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
The error message.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace.
finalinherited
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