ValidationError class
Represents a Schema validation error.
This can occur when a method of the agent is invoked with certain parameters or the returned value doesn't match the declared plugin schema.
Signature:
export declare class ValidationError extends Error
Extends: Error
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(message, method, code, path, description) | Constructs a new instance of the ValidationError class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| code | string | ||
| description | string | ||
| message | string | ||
| method | string | ||
| path | string |