Creates a new `BaseError` indicating a particular fail. Args: message: The message string describing the failure. error_code: The `pywrap.ErrorCode.Code` describing the error.
(self, message, error_code)
| 25 | """ |
| 26 | |
| 27 | def __init__(self, message, error_code): |
| 28 | """Creates a new `BaseError` indicating a particular fail. |
| 29 | |
| 30 | Args: |
| 31 | message: The message string describing the failure. |
| 32 | error_code: The `pywrap.ErrorCode.Code` describing the error. |
| 33 | """ |
| 34 | super(BaseError, self).__init__() |
| 35 | self._message = message |
| 36 | self._error_code = error_code |
| 37 | |
| 38 | @property |
| 39 | def message(self): |
no outgoing calls
no test coverage detected