Exception: Wiq::SeasonNotFoundError
- Defined in:
- lib/wiq/errors.rb
Instance Attribute Summary
Attributes inherited from Error
#code, #details, #exit_code, #hint
Instance Method Summary collapse
-
#initialize(year) ⇒ SeasonNotFoundError
constructor
A new instance of SeasonNotFoundError.
Constructor Details
#initialize(year) ⇒ SeasonNotFoundError
Returns a new instance of SeasonNotFoundError.
154 155 156 157 158 159 160 |
# File 'lib/wiq/errors.rb', line 154 def initialize(year) super( "No paid sessions overlap year #{year}.", code: "season_not_found", hint: "Run `wiq paid_sessions list` to see configured registration periods." ) end |