1
0
mirror of synced 2024-11-26 06:46:04 +03:00

Merge pull request #68 from pranas/feature/error-subcode

Expose error_subcode property for errors
This commit is contained in:
Harrison Shoebridge 2019-10-14 19:44:41 +11:00 committed by GitHub
commit 48370aae6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,6 +71,7 @@ type QueryError struct {
Message string `json:"message"` Message string `json:"message"`
Type string `json:"type"` Type string `json:"type"`
Code int `json:"code"` Code int `json:"code"`
ErrorSubcode int `json:"error_subcode"`
FBTraceID string `json:"fbtrace_id"` FBTraceID string `json:"fbtrace_id"`
} }