Exception: Postmark::InvalidTemplateError

Inherits:
Error
  • Object
show all
Defined in:
lib/postmark/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ InvalidTemplateError

Returns a new instance of InvalidTemplateError.



112
113
114
115
# File 'lib/postmark/error.rb', line 112

def initialize(response)
  @postmark_response = response
  super('Failed to render the template. Please check #postmark_response on this error for details.')
end

Instance Attribute Details

#postmark_responseObject (readonly)

Returns the value of attribute postmark_response.



110
111
112
# File 'lib/postmark/error.rb', line 110

def postmark_response
  @postmark_response
end