LlamaException class

A custom exception class for handling errors specific to the Llama application.

The LlamaException class implements the Exception interface and provides a way to create exceptions with a custom error message.

Example usage:

throw LlamaException('An error occurred in the Llama application');

The message property contains the error message that can be accessed and displayed when the exception is caught.

The toString method is overridden to return the error message.

Implemented types

Constructors

LlamaException.new(String message)
Creates a new instance of LlamaException with the provided error message.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A message describing the exception.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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