Class: Texd::Client::RenderError

Inherits:
Error
  • Object
show all
Defined in:
lib/texd/client.rb

Overview

Generic error for execptions caused by the render endpoint. You will likely receive a subclass of this error, but you may rescue from this error, if you’re not interested in the details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, details: nil) ⇒ RenderError

Returns a new instance of RenderError.



16
17
18
19
# File 'lib/texd/client.rb', line 16

def initialize(message, details: nil)
  @details = details
  super(message)
end

Instance Attribute Details

#detailsObject (readonly)

additional details



14
15
16
# File 'lib/texd/client.rb', line 14

def details
  @details
end