Added errors raised to the API reference documentation.