Sha256: ec79a50c7df5c06251686bb0872d015fc7616fd5d604adcf79e3fad3869383ca

Contents?: true

Size: 211 Bytes

Versions: 1

Compression:

Stored size: 211 Bytes

Contents

require 'crystal_ext/gems'

class UserError < StandardError
end

Object.class_eval do
  def raise_user_error msg
    raise UserError, msg
  end

  def self.raise_user_error msg
    raise UserError, msg
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
crystal_ext-0.0.7 lib/crystal_ext/user_error.rb