jspg error refactoring checkpoint
This commit is contained in:
@ -18,7 +18,6 @@ fn test_library_api() {
|
||||
"type": "drop",
|
||||
"errors": [{
|
||||
"code": "ENGINE_NOT_INITIALIZED",
|
||||
"message": "JSPG extension has not been initialized via jspg_setup",
|
||||
"details": {}
|
||||
}]
|
||||
})
|
||||
@ -250,7 +249,9 @@ fn test_library_api() {
|
||||
"errors": [
|
||||
{
|
||||
"code": "REQUIRED_FIELD_MISSING",
|
||||
"message": "Missing name",
|
||||
"values": {
|
||||
"field_name": "name"
|
||||
},
|
||||
"details": {
|
||||
"path": "name",
|
||||
"schema": "source_schema"
|
||||
@ -258,7 +259,9 @@ fn test_library_api() {
|
||||
},
|
||||
{
|
||||
"code": "STRICT_PROPERTY_VIOLATION",
|
||||
"message": "Unexpected property 'wrong'",
|
||||
"values": {
|
||||
"property_name": "wrong"
|
||||
},
|
||||
"details": {
|
||||
"path": "wrong",
|
||||
"schema": "source_schema"
|
||||
|
||||
Reference in New Issue
Block a user