RmlCompileError class
One error rmlToRev reported: the compiler's own, or one added for a
file= this binding could not embed.
Shared by the ffi and web implementations so callers see one type on both platforms.
Constructors
- RmlCompileError({required int line, required String message, String? id})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The authored id of the element the error is about; null when the error
is not about one element, or that element's id doesn't identify it
(none, malformed, reserved, or claimed by an earlier element).
final
- line → int
-
1-based; 0 when the error is not tied to a line.
final
- message → String
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
listFromJson(
String json) → List< RmlCompileError> -
Reads the
errorsJsonarray native sends across FFI/wasm. Never throws: text that is not the expected JSON shape becomes one error carrying that text verbatim, since a stale native library must not crash the caller.