Exception: Jazari::Error

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

Overview

A closed taxonomy. Hosts translate these into their own transport envelope; unauthorized, unknown, deleted, and type-mismatched input must all collapse to TargetNotFound so that guessing a target cannot disclose its existence.

Instance Method Summary collapse

Instance Method Details

#codeObject



8
# File 'lib/jazari/errors.rb', line 8

def code = self.class.name.split("::").last.gsub(/([a-z])([A-Z])/, '\1_\2').downcase