# frozen_string_literal: true module LIT module Parser # @api public # @since 0.1.0 class ParseError < ::StandardError attr_reader :data def initialize(data:, message:) @data = data super(message) end end # @api public # @since 0.1.0 InvalidASTError = Class.new(::StandardError) end end