Exception: Textus::UsageError

Inherits:
Error
  • Object
show all
Defined in:
lib/textus/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#code, #details, #exit_code, #hint

Instance Method Summary collapse

Methods inherited from Error

#to_envelope

Constructor Details

#initialize(m, hint: nil) ⇒ UsageError

Returns a new instance of UsageError.



120
# File 'lib/textus/errors.rb', line 120

def initialize(m, hint: nil) = super("usage", m, exit_code: 2, hint: hint)