Module: Gist::Error

Included in:
ClipboardError
Defined in:
lib/gist.rb

Overview

Exception tag for errors raised while gisting.

Class Method Summary collapse

Class Method Details

.exception(*args) ⇒ Object



41
42
43
# File 'lib/gist.rb', line 41

def self.exception(*args)
  RuntimeError.new(*args).extend(self)
end