File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ tasks = client.tasks(
135135## Error handling
136136
137137If something went wrong while making API calls, then exceptions will be raised automatically
138- as a ` scale.ScaleError ` or ` scale.ValidationError ` runtime error. For example:
138+ as a ` scale.ScaleException ` or ` scale.ScaleInvalidRequest ` runtime error. For example:
139139
140140``` python
141141try
@@ -144,13 +144,3 @@ except scale.ValidationError as e:
144144 print (e.code) # 400
145145 print (e.message) # missing param X
146146```
147-
148- ## Custom options
149-
150- The api initialization accepts the following options:
151-
152- | Name | Description | Default |
153- | ---- | ----------- | ------- |
154- | ` endpoint ` | Endpoint used in the http requests. | ` 'https://api.scaleapi.com/v1/' ` |
155- | ` api_key ` | API key used in the http requests. | required |
156-
You can’t perform that action at this time.
0 commit comments