Skip to content
instance method

Prism::Translation::Parser#error_diagnostic

error_diagnostic(error, offset_cache)

Build a diagnostic from the given prism parse error.