Sha256: 681f1154d8200bfbef430f2b043977e51cf38a601be1d850b0bed87fcb097cf8

Contents?: true

Size: 175 Bytes

Versions: 11

Compression:

Stored size: 175 Bytes

Contents

# User errors

module DaSuspenders
  class InvalidInput < Exception; end

  module Errors
    def error_with_message(msg)
      STDERR.puts msg
      exit 1
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
da-suspenders-2.0.0 lib/errors.rb
da-suspenders-1.3.1 lib/errors.rb
da-suspenders-1.3.0 lib/errors.rb
da-suspenders-1.2.5 lib/errors.rb
da-suspenders-1.2.4 lib/errors.rb
da-suspenders-1.2.3 lib/errors.rb
da-suspenders-1.2.2 lib/errors.rb
da-suspenders-1.2.1 lib/errors.rb
da-suspenders-1.2.0 lib/errors.rb
da-suspenders-1.1.0 lib/errors.rb
da-suspenders-1.0.1 lib/errors.rb