Registry / utility / e2mmap

e2mmap

JSON →
library0.1.0rbrubygemsunverified

E2MMap is a module for defining custom exceptions with specific messages in Ruby.

gem install e2mmap
INSTALL
IMPORT
SIG · E2MMAP
E
e2mmap
utilityrubyv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

E2MMap
require 'e2mmap'

Define and raise a custom exception

require 'e2mmap' class MyError extend E2MMap def_exception :CustomError, 'This is a custom error: %s' end raise MyError::CustomError, 'details'
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
e2mmap — gem install e2mmap · libregistry