EnvironmentParsingException class
An Exception thrown when an error occurs during environment property parsing.
This exception typically indicates that the environment configuration contains invalid or malformed values that cannot be properly interpreted.
Example usage:
if (someParsingError) {
throw EnvironmentParsingException('Failed to parse environment variable XYZ');
}
Catch this exception to handle or report environment parsing failures specifically.
Constructors
- EnvironmentParsingException(String message)
- An Exception thrown when an error occurs during environment property parsing.
Properties
- cause → Object?
-
The underlying cause of this exception, if any.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
The message describing the error.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace
-
The associated stack trace.
finalinherited
Methods
-
getCause(
) → Object -
The cause of this exception, if any.
inherited
-
getMessage(
) → String -
The message associated with this exception.
inherited
-
getStackTrace(
) → StackTrace -
The stack trace associated with this exception.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited