SemiException class

Depend on Exception, SemiException provide a model, which is contains basic data for handling error and exception.

Implemented types

Constructors

SemiException(String errorCode, {String? message, dynamic error, StackTrace? stackTrace, DateTime? time})
const

Properties

error → dynamic
The source error or exception
final
errorCode String
Each exception has a identification code, let the program detach what it will do next
final
hashCode int
The hash code for this object.
no setterinherited
message String?
Log the message of this exception
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The stackTrace
final
time DateTime?
The time, when exception occurs
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
print({SemiLogger? logger, bool debugMode = true}) → void
Log to console this exception
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited