ZenException class abstract
Base exception for all Zenify errors with smart formatting
By default, exceptions use a compact single-line format.
Enable verbose mode with ZenConfig.verboseErrors = true for detailed box formatting.
- Implemented types
- Implementers
- ZenCircularDependencyException
- ZenControllerDisposedException
- ZenControllerNotFoundException
- ZenDependencyNotFoundException
- ZenDisposedScopeException
- ZenLifecycleException
- ZenModuleException
- ZenMutationException
- ZenOfflineException
- ZenQueryException
- ZenRouteException
- ZenScopeException
- ZenScopeNotFoundException
Constructors
-
ZenException(String message, {Map<
String, String> ? context, String? suggestion, String? docLink, Object? cause, StackTrace? causeStackTrace}) -
const
Properties
- category → String
-
Error category (for filtering/grouping)
no setter
- cause → Object?
-
Original error that caused this exception (if any)
final
- causeStackTrace → StackTrace?
-
Stack trace of the original error
final
-
context
→ Map<
String, String> ? -
Optional context (e.g., type name, scope name)
final
- docLink → String?
-
Optional documentation link
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → String
-
Icon/emoji for this error type
no setter
- message → String
-
Human-readable error message
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suggestion → String?
-
Optional suggestion for fixing the error
final
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