rdodson41/ruby-lox

View on GitHub
lib/lox/lexical_analyzer/invalid_character.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Lox
  class LexicalAnalyzer
    class InvalidCharacter < StandardError
      def initialize(character)
        super("Invalid character: #{character}")
      end
    end
  end
end