File size: 239 Bytes
168b5c0
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9


class ExpectedError(Exception):
    def __init__(self, status_code, message, traceback="", detail=""):
        self.status_code = status_code
        self.message = message
        self.traceback = traceback
        self.detail = detail