Exception: Knowledge::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Knowledge::Error
- Defined in:
- lib/knowledge/exceptions.rb
Overview
Description ===
This error class should be considered as the lib’s standard error. All error classes inherit from this one. The goal is to be able to rescue Knowledge::Error outside the lib and catch them all.
Usage ===
You have many examples behind. Just inherit from this class and it’s ok.
@example:
class ::MyCustomKnowledgeError < Knowledge::Error; end
Direct Known Subclasses
AdapterNotFound, AdapterRunMethodNotImplemented, LearnError, RegisterError