Exception: SorbetProgress::Error
- Inherits:
-
StandardError
- Object
- StandardError
- SorbetProgress::Error
- Extended by:
- T::Sig
- Defined in:
- lib/sorbet_progress/error.rb
Overview
Parent class of all errors raised by SorbetProgress. Every error should have a unique number.
Instance Method Summary collapse
-
#initialize(number, message) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(number, message) ⇒ Error
Returns a new instance of Error.
11 12 13 14 15 16 17 18 19 |
# File 'lib/sorbet_progress/error.rb', line 11 def initialize(number, ) super( format( "%s (SPE%d)", , number ) ) end |