class Asciidoctor::Katex::KatexError
Exception raised when KaTeX throw any error except `ParseError`.
Attributes
expression[R]
Public Class Methods
new(msg, expression)
click to toggle source
@param msg [#to_s] the message. @param expression [String] the LaTeX expression that caused the error.
Calls superclass method
# File lib/asciidoctor/katex/errors.rb, line 12 def initialize(msg, expression) @expression = expression super(msg.to_s) end