FrappeConfigurationException class

Exception thrown when configuration is invalid

Inheritance

Constructors

FrappeConfigurationException(String message, {String? code, dynamic originalError, StackTrace? originalStackTrace, Map<String, dynamic> context = const {}, String? field, String? suggestion})
const

Properties

code String?
Machine-readable error code for programmatic handling
finalinherited
context Map<String, dynamic>
Additional context data about the error
finalinherited
field String?
The configuration field that caused the error
final
friendlyMessage String
Creates a user-friendly error message
no setteroverride
hasCause bool
Whether this exception was caused by another exception
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
message String
Human-readable error message
finalinherited
originalError → dynamic
Original error that caused this exception (if any)
finalinherited
originalStackTrace StackTrace?
Stack trace from the original error (if any)
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suggestion String?
Suggested fix for the configuration issue
final

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