Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 730 Bytes

class-exceptions.rst

File metadata and controls

20 lines (13 loc) · 730 Bytes

Exceptions

This document contains the descriptions and throw cases for all exceptions in the client. Use this reference when you're unsure why you may have gotten an exception.

DiffbotException

.. php:namespace:: Swader\Diffbot\Exceptions

.. php:exception:: DiffbotException

The DiffbotException is an empty exception class that extends the base PHP \Exception. It is the base for all other Diffbot exceptions - though currently, it is the only one.

Its main current purpose is to let the user know that something went wrong with the client, not its dependencies or the application consuming it.