Trevoke/SGFParser

View on GitHub
lib/sgf/error.rb

Summary

Maintainability
A
0 mins
Test Coverage
# typed: strong
# frozen_string_literal: true

module SGF
  class MalformedDataError < StandardError
    # error raised by parser
  end
  class FormatNotSpecifiedWarning < StandardError
    # Warning if FF is not in first node
  end

  class NoIdentityError < StandardError
    # Error if the user tries to read an identity that doesn't exist
  end
end