1
0
mirror of synced 2024-11-25 22:36:03 +03:00

Expose error_subcode property for errors

This commit is contained in:
Pranas Kiziela 2019-10-14 10:58:59 +03:00
parent 4a255a50c5
commit 492438f895

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"`
} }