ServerException class abstract
The ServerException class is an abstract class that represents a server-related exception.
This class implements the Exception interface.
Constructors
- ServerException({required String message, Object? code})
-
Creates a new instance of the ServerException class.
const
Properties
- code → Object?
-
The error code associated with the exception (optional).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
The error message associated with the exception.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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