ScanConfigError class

Defines a custom error message used by CreateScanConfig and UpdateScanConfig APIs when scan configuration validation fails.

It is also reported as part of a ScanRunErrorTrace message if scan validation fails due to a scan configuration error.

Constructors

ScanConfigError({String? code, String? fieldName})
ScanConfigError.fromJson(Map json_)

Properties

code String?
Indicates the reason code for a configuration failure.
getter/setter pair
fieldName String?
Indicates the full name of the ScanConfig field that triggers this error, for example "scan_config.max_qps".
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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