class Prism::Translation::Parser::Diagnostic

error messages.
messages. We create our own diagnostic class in order to set our own
The parser gem has a list of diagnostics with a hard-coded set of error

def initialize(message, location)

Initialize a new diagnostic with the given message and location.
def initialize(message, location)
  @message = message
  super(:error, :prism_error, {}, location, [])
end