Error
Indicates that some error occurred during data collection. message holds any message about the error which might have been captured.
Data type CarpDataTypes.ERROR. Note that this class hides dart:core Error when carp_core is imported without a prefix.
- Inheritance
-
- Object
- Serializable
- Data
- Error
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
Error.fromJson
Error
- required String message,
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
message
getter/setter pair
The original error message returned from the probe, if available.
Methods
toJson
Return a JSON encoding of this object.