Exception: Textus::BuildInProgress

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(holder) ⇒ BuildInProgress

Returns a new instance of BuildInProgress.



145
146
147
148
149
150
151
152
153
# File 'lib/textus/errors.rb', line 145

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