class Herb::Errors::RubyParseError
def tree_inspect(indent = 0)
def tree_inspect(indent = 0) output = +"" output += %(@ #{error_name} #{location.tree_inspect}\n) output += %(├── message: #{message.inspect}\n) output += %(├── error_message: #{error_message.inspect}\n) output += %(├── diagnostic_id: #{diagnostic_id.inspect}\n) output += %(└── level: #{level.inspect}\n) output += %(\n) output.gsub(/^/, " " * indent) end