Exception: Wiq::SeasonNotFoundError

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

Instance Attribute Summary

Attributes inherited from Error

#code, #details, #exit_code, #hint

Instance Method Summary collapse

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