mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-05-04 22:50:23 +00:00
15 lines
426 B
Python
15 lines
426 B
Python
# This file was auto-generated by Fern from our API Definition.
|
|
|
|
import typing
|
|
|
|
|
|
class ApiError(Exception):
|
|
status_code: typing.Optional[int]
|
|
body: typing.Any
|
|
|
|
def __init__(self, *, status_code: typing.Optional[int] = None, body: typing.Any = None):
|
|
self.status_code = status_code
|
|
self.body = body
|
|
|
|
def __str__(self) -> str:
|
|
return f"status_code: {self.status_code}, body: {self.body}"
|