module tarantool.types¶
Additional Tarantool type definitions.
- class tarantool.types.BoxError(type: Union[str, bytes], file: Union[str, bytes], line: int, message: Union[str, bytes], errno: int, errcode: int, fields: Optional[dict] = None, prev: Optional[List[BoxError]] = None)¶
Type representing Tarantool box.error object: a single MP_ERROR_STACK object with a link to the previous stack error.
- fields: Optional[dict] = None¶
Additional fields depending on error type. For example, if
typeis"AccessDeniedError", then it will include"object_type","object_name","access_type".