Class: X::Objects::Error
- Inherits:
-
Error
- Object
- Error
- X::Objects::Error
- Defined in:
- x-objects/lib/x/objects/errors.rb
Overview
Base error class for the failures of the object layer, which every error x-objects raises of its own descends from
It descends from X::Error, so that rescuing the errors of the X API catches one of them as well. The errors that descend from it are named directly under X, as the errors of x-core are, so that this is the one name under X::Objects a rescue reaches for: it catches the failure of the object layer alone.
Direct Known Subclasses
MissingClient, MissingResource, PageLimitReached, UnreadableResponse