Spec-Zone.ru › Homebrew

Exception: Parser::UnknownEncodingInMagicComment

Inherits:
ArgumentError
  • Object
  • ArgumentError
  • Parser::UnknownEncodingInMagicComment
show all
Defined in:
sorbet/rbi/parser@3.3.8.0.rbi

Overview

UnknownEncodingInMagicComment is raised when a magic encoding comment is encountered that the currently running Ruby version doesn't recognize. It inherits from ArgumentError since that is the exception Ruby itself raises when trying to execute a file with an unknown encoding. As such, it is also not a SyntaxError.

source://parser//lib/parser/unknown_encoding_in_magic_comment_error.rb#13

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/Parser/UnknownEncodingInMagicComment.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API