Sha256: c58b8e4d5cc5508052d1d5c34c6a8e77154c3e1ce24599330f7dd3f5f9981951

Contents?: true

Size: 187 Bytes

Versions: 3

Compression:

Stored size: 187 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

3 entries across 3 versions & 1 rubygems

Version Path
da-suspenders-1.0.3 lib/errors.rb
da-suspenders-1.0.2 lib/errors.rb
da-suspenders-1.0.0 lib/errors.rb