Exceptions
October 15, 2022 ยท View on GitHub
When the library encounters an error it will always throw an exception. Your code must catch the exceptions listed below.
GotifyException
Gotify\Exception\GotifyException
Thrown when the Gotify library experiences an error.
Example: Gotify\Server will throw GotifyException if the given server URI is invalid.
EndpointException
Gotify\Exception\EndpointException
Thrown when a Gotify API endpoint returns an error.