-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
952ae9d
commit 35217ad
Showing
3 changed files
with
23 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,23 @@ | ||
{ | ||
"errorSchemaSDK": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"code", | ||
"message" | ||
], | ||
"properties": { | ||
"code": { | ||
"title": "errorObjectCode", | ||
"description": "A Number that indicates the error type that occurred. This MUST be an integer. The error codes from and including -32768 to -32000 are reserved for pre-defined errors. These pre-defined errors SHOULD be assumed to be returned from any JSON-RPC api.", | ||
"type": "integer" | ||
}, | ||
"message": { | ||
"title": "errorObjectMessage", | ||
"description": "A String providing a short description of the error. The message SHOULD be limited to a concise single sentence.", | ||
"type": "string" | ||
}, | ||
"data": { | ||
"title": "errorObjectData", | ||
"description": "A Primitive or Structured value that contains additional information about the error. This may be omitted. The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.)." | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "string" | ||
} | ||
] | ||
}, | ||
"errorSchemaTransport": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"code", | ||
"message" | ||
], | ||
"properties": { | ||
"code": { | ||
"title": "errorObjectCode", | ||
"description": "A Number that indicates the error type that occurred. This MUST be an integer. The error codes from and including -32768 to -32000 are reserved for pre-defined errors. These pre-defined errors SHOULD be assumed to be returned from any JSON-RPC api.", | ||
"type": "integer" | ||
}, | ||
"message": { | ||
"title": "errorObjectMessage", | ||
"description": "A String providing a short description of the error. The message SHOULD be limited to a concise single sentence.", | ||
"type": "string" | ||
}, | ||
"data": { | ||
"title": "errorObjectData", | ||
"description": "A Primitive or Structured value that contains additional information about the error. This may be omitted. The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.)." | ||
} | ||
} | ||
"errorSchema": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": ["code", "message"], | ||
"properties": { | ||
"code": { | ||
"title": "errorObjectCode", | ||
"description": "A Number that indicates the error type that occurred. This MUST be an integer. The error codes from and including -32768 to -32000 are reserved for pre-defined errors. These pre-defined errors SHOULD be assumed to be returned from any JSON-RPC api.", | ||
"type": "integer" | ||
}, | ||
"message": { | ||
"title": "errorObjectMessage", | ||
"description": "A String providing a short description of the error. The message SHOULD be limited to a concise single sentence.", | ||
"type": "string" | ||
}, | ||
"data": { | ||
"title": "errorObjectData", | ||
"description": "A Primitive or Structured value that contains additional information about the error. This may be omitted. The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.)." | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters