Class FieldError
Represents an error returned by the EasyPost API. These are typically informational about why a request failed (server-side validation issues, missing data, etc.). This is different than the EasyPostError class, which represents exceptions in the EasyPost library, such as bad HTTP status codes or local validation issues.
Inheritance
System.Object
FieldError
Namespace: EasyPost.Models.API
Assembly: EasyPost.dll
Syntax
public class FieldError : object
Properties
| Improve this Doc View SourceField
The field of the request that caused the error.
Declaration
public string? Field { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Message
A human-readable description of the problem encountered.
Declaration
public string? Message { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Suggestion
A human-readable suggestion to resolve the problem encountered.
Declaration
public string? Suggestion { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |