Module: PeepShow::Exceptions

Defined in:
lib/peep-show/exceptions.rb

Defined Under Namespace

Modules: StandardError Classes: Base

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



2
3
4
5
6
7
# File 'lib/peep-show/exceptions.rb', line 2

def self.included(base)
  require_relative 'exceptions/base'
  require_relative 'exceptions/standard_error'

  ::StandardError.include(PeepShow::Exceptions::StandardError)
end