FieldError class

Information about an error associated with a specific field in a request.

Constructors

FieldError({required List<String> path, required String errorCode, required String errorMessage})
Create a new FieldError.

Properties

errorCode String
The error code.
final
errorMessage String
A human-readable description of the error represented by errorCode.
final
hashCode int
The hash code for this object.
no setterinherited
name String
A human-readable name of this field.
final
path List<String>
The segments of the path to this field in the request.
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

pathToName(List<String> path) String
Convert a list of path segments to a human-readable field name.