Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 467 Bytes

exceptions.md

File metadata and controls

19 lines (13 loc) · 467 Bytes

Exceptions

When the library encounters an error it will always throw an exception. Your code must catch the exceptions listed below.

NtfyException

Ntfy\Exception\NtfyException

Thrown when the ntfy library experiences an error.

Example: Ntfy\Server will throw NtfyException if the given server URI is invalid.

EndpointException

Ntfy\Exception\EndpointException

Thrown when the ntfy server returns an error.