Exceptions
All dazpy exceptions inherit from DazError.
- exception dazpy.exceptions.ConnectionError[source]
Bases:
DazErrorRaised when the SDK cannot reach the DAZ Studio Script Server.
- exception dazpy.exceptions.AuthenticationError[source]
Bases:
DazErrorRaised on HTTP 401 or 403 (bad or missing API token, or IP blocked).
- exception dazpy.exceptions.ScriptError(message, script='', request_id='')[source]
Bases:
DazErrorBase class for errors that originate inside a DazScript execution.
- script
The DazScript source that was submitted (may be empty for file-based executions).
- request_id
The server-assigned request ID, useful for log correlation.
- exception dazpy.exceptions.ScriptSyntaxError(message, script='', request_id='')[source]
Bases:
ScriptErrorRaised when the DazScript engine reports a parse / syntax error.
- exception dazpy.exceptions.ScriptRuntimeError(message, script='', request_id='')[source]
Bases:
ScriptErrorRaised when a DazScript execution fails at runtime (TypeError, ReferenceError, etc.).
- exception dazpy.exceptions.TimeoutError[source]
Bases:
DazErrorRaised when an HTTP request or async poll exceeds its timeout.