DartBlockException class

An exception which can be thrown during the execution of a DartBlockProgram.

Implemented types
Implementers
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

DartBlockException({required String title, required String message, Statement? statement})
DartBlockException.fromException({required Exception exception, Statement? statement})
DartBlockException.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
internalMessage String
An explanation of the exception for internal usage, e.g., logging.
getter/setter pair
isGeneric bool
Whether the exception stems from Dart's own engine, or it is simply an unknown exception.
getter/setter pair
message String
A short explanation of the exception.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statement Statement?
The statement which caused the exception to be thrown.
getter/setter pair
title String
The descriptive title of the exception.
getter/setter pair

Methods

describe({bool includeThrownBy = true}) String
Used for the output of certain evaluation schemas.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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