Exception: Sxn::SessionTemplateApplicationError

Inherits:
SessionTemplateError show all
Defined in:
lib/sxn/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#exit_code

Instance Method Summary collapse

Constructor Details

#initialize(template_name, message) ⇒ SessionTemplateApplicationError

Returns a new instance of SessionTemplateApplicationError.



94
95
96
# File 'lib/sxn/errors.rb', line 94

def initialize(template_name, message)
  super("Failed to apply template '#{template_name}': #{message}. Session has been rolled back.")
end