Error is the error type usually returned by functions in CF SSL package. It contains a 4-digit error code where the most significant digit describes the category where the error occurred and the rest 3 digits describe the specific error reason.
| 11 | // describes the category where the error occurred and the rest 3 digits |
| 12 | // describe the specific error reason. |
| 13 | type Error struct { |
| 14 | ErrorCode int `json:"code"` |
| 15 | Message string `json:"message"` |
| 16 | } |
| 17 | |
| 18 | // Category is the most significant digit of the error code. |
| 19 | type Category int |
nothing calls this directly
no outgoing calls
no test coverage detected