erikw/nestedtext-ruby

View on GitHub
lib/nestedtext/error.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module NestedText
  # Top level error to rescue on.
  #
  # Error is a subclass of StandardError and behaves as expected e.g. #message.
  class Error < StandardError
    private_class_method :new
  end
end