Exception: Transcriptic::TranscripticError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/transcriptic/errors.rb

Direct Known Subclasses

LabfileReadError

Class Method Summary collapse

Class Method Details

.status_code(code) ⇒ Object



4
5
6
7
# File 'lib/transcriptic/errors.rb', line 4

def status_code(code)
  define_method(:status_code) { code }
  define_singleton_method(:status_code) { code }
end