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.



126
127
128
129
130
131
132
133
134
# File 'lib/textus/errors.rb', line 126

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