Skip to content

Latest commit

 

History

History
157 lines (100 loc) · 2.39 KB

File metadata and controls

157 lines (100 loc) · 2.39 KB

Exceptions API Reference

AgentBayError

class AgentBayError(Exception)

Base exception for all AgentBay SDK errors.

init

def __init__(self, message=None, *args, **kwargs)

WsCancelledError

class WsCancelledError(AgentBayError)

Raised when a WS stream is cancelled by the caller.

AuthenticationError

class AuthenticationError(AgentBayError)

Raised when there is an authentication error.

init

def __init__(self, message="Authentication failed", *args, **kwargs)

APIError

class APIError(AgentBayError)

Raised when there is an error with the API.

init

def __init__(self, message="API error", status_code=None, *args, **kwargs)

FileError

class FileError(AgentBayError)

Raised for errors related to file operations.

init

def __init__(self, message="File operation error", *args, **kwargs)

CommandError

class CommandError(AgentBayError)

Raised for errors related to command execution.

init

def __init__(self, message="Command execution error", *args, **kwargs)

SessionError

class SessionError(AgentBayError)

Raised for errors related to session operations.

init

def __init__(self, message="Session error", *args, **kwargs)

OssError

class OssError(AgentBayError)

Raised for errors related to OSS operations.

init

def __init__(self, message="OSS operation error", *args, **kwargs)

BrowserError

class BrowserError(AgentBayError)

Raised when there is an error with the browser.

init

def __init__(self, message="Browser error", *args, **kwargs)

AgentError

class AgentError(AgentBayError)

Raised for errors related to Agent actions.

init

def __init__(self, message="Agent action error", *args, **kwargs)

ClearanceTimeoutError

class ClearanceTimeoutError(AgentBayError)

Raised when context clearing operation times out.

init

def __init__(self, message="Context clearing operation timed out", *args, **kwargs)

See Also


Documentation generated automatically from source code using pydoc-markdown.