Skip to content

Commit 26d0a14

Browse files
committed
Remove Error Handling section to be with other library stuff
1 parent e1e06f5 commit 26d0a14

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ print("Content class:", response.contentClass)
4444
- Generate an image from a text prompt. Returns a response object with attributes matching the API response (including outputs, size, contentClass, etc).
4545
- Additional keyword arguments are passed as parameters to the API.
4646

47+
## Error Handling
48+
49+
- `FireflyAuthError`: Raised for authentication/token errors
50+
- `FireflyAPIError`: Raised for general API errors or unexpected responses
51+
4752
## Command Line Interface (CLI)
4853

4954
The `firefly` CLI allows you to generate images from the command line using the Adobe Firefly API.
@@ -92,11 +97,6 @@ firefly image generate \
9297

9398
The CLI will print the generated image URL.
9499

95-
## Error Handling
96-
97-
- `FireflyAuthError`: Raised for authentication/token errors
98-
- `FireflyAPIError`: Raised for general API errors or unexpected responses
99-
100100
## More Information
101101

102102
- [Adobe Firefly API Documentation]

0 commit comments

Comments
 (0)