summaryrefslogtreecommitdiff
path: root/lib/classifier/errors.rb
blob: 89fd6b0420a938beb9f21bdc284c789d954dc019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# rbs_inline: enabled

# Author::    Lucas Carlson  (mailto:lucas@rufy.com)
# Copyright:: Copyright (c) 2005 Lucas Carlson
# License::   LGPL

module Classifier
  # Base error class for all Classifier errors
  class Error < StandardError; end

  # Raised when reload would discard unsaved changes
  class UnsavedChangesError < Error; end

  # Raised when a storage operation fails
  class StorageError < Error; end

  # Raised when using an unfitted model
  class NotFittedError < Error; end
end