Skip to main content

Exception hierarchy

Import exceptions from simulacrum.exceptions as needed. All SDK-specific errors subclass SimulacrumError.

Usage patterns

The ERROR_CODE_MAP constant inside the module surfaces the mapping between API error_code values and exception classes. Extend your handlers as new codes are introduced.