Exception: EmbeddableContent::Tex::RenderError
- Inherits:
-
StandardError
- Object
- StandardError
- EmbeddableContent::Tex::RenderError
- Defined in:
- app/services/embeddable_content/tex/base_renderer.rb
Instance Attribute Summary collapse
-
#script ⇒ Object
readonly
Returns the value of attribute script.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
Instance Method Summary collapse
-
#initialize(script, stderr, status, api_errors) ⇒ RenderError
constructor
A new instance of RenderError.
Constructor Details
#initialize(script, stderr, status, api_errors) ⇒ RenderError
Returns a new instance of RenderError.
8 9 10 11 12 13 |
# File 'app/services/embeddable_content/tex/base_renderer.rb', line 8 def initialize(script, stderr, status, api_errors) @script = script @stderr = stderr @status = status super "Unable to resolve error raised calling #{script}: #{status}\n#{stderr}\n#{api_errors}" end |
Instance Attribute Details
#script ⇒ Object (readonly)
Returns the value of attribute script.
6 7 8 |
# File 'app/services/embeddable_content/tex/base_renderer.rb', line 6 def script @script end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
6 7 8 |
# File 'app/services/embeddable_content/tex/base_renderer.rb', line 6 def status @status end |
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
6 7 8 |
# File 'app/services/embeddable_content/tex/base_renderer.rb', line 6 def stderr @stderr end |