Last active
July 29, 2017 21:36
-
-
Save ksdme/5570cf32adf270519b7ab1b098b9643b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class ResponseError(Brick): | |
""" General Response Error """ | |
STRUCT = { | |
"code": integer(), | |
"data": opt(klass(ErrorCodes)), | |
"message": string() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment