SimApiException class
Exception class for handling errors in the sim api.
- Implemented types
Constructors
- SimApiException.new(String message)
-
Creates a new instance of
SimApiException
with a givenmessage
. - SimApiException.routeIsNotRegistered(String route)
-
Factory constructor for creating an exception indicating that a route is not registered.
factory
- SimApiException.unKown()
-
Factory constructor for creating an exception with a generic unknown error message.
factory
Properties
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