Sha256: abd9aac66b7394524437909c6e27ee49025ef847309aadac14b83a357b843496

Contents?: true

Size: 752 Bytes

Versions: 9

Compression:

Stored size: 752 Bytes

Contents

#
# Copyright (c) 2007-2017 Minero Aoki, Kenshi Muto
#               2002-2007 Minero Aoki
#
# This program is free software.
# You can distribute or modify this program under the terms of
# the GNU LGPL, Lesser General Public License version 2.1.
# For details of the GNU LGPL, see the file "COPYING".
#

module ReVIEW
  class Error < ::StandardError; end

  class ApplicationError < Error; end

  class ConfigError < ApplicationError; end

  class CompileError < ApplicationError; end

  class SyntaxError < CompileError; end

  class FileNotFound < ApplicationError; end

  class KeyError < CompileError; end

  class BuildError < ApplicationError
    def initialize(msg, location: nil)
      @location = location
      super(msg)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
review-5.10.0 lib/review/exception.rb
review-5.9.0 lib/review/exception.rb
review-5.8.0 lib/review/exception.rb
review-5.7.0 lib/review/exception.rb
review-5.6.0 lib/review/exception.rb
review-5.5.0 lib/review/exception.rb
review-5.4.0 lib/review/exception.rb
review-5.3.0 lib/review/exception.rb
review-5.2.0 lib/review/exception.rb