Exception: Textus::BuildInProgress

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

Instance Attribute Summary

Attributes inherited from Error

#code

Instance Method Summary collapse

Methods inherited from Error

#details, #exit_code, #hint, #to_envelope

Constructor Details

#initialize(holder) ⇒ BuildInProgress

Returns a new instance of BuildInProgress.



135
136
137
138
139
140
141
142
143
# File 'lib/textus/errors.rb', line 135

def initialize(holder)
  super(
    "build_in_progress",
    "a textus maintenance pass is already running (#{holder})",
    details: { "holder" => holder },
    exit_code: 75,
    hint: "wait for the running maintenance pass to finish, or check for a recursive hook trigger"
  )
end