Sha256: 92124807464439781786d055933337f1a7a87070a9f71ff513326414ba997635

Contents?: true

Size: 478 Bytes

Versions: 1

Compression:

Stored size: 478 Bytes

Contents

module Howareya
  class MissingConfigError < StandardError
    def initialize(msg="It looks like you haven't set up the config for Howareya")
      super
    end
  end

  class MissingMetricError < StandardError
    def initialize(msg="It looks like you haven't registered a metric at Howareya")
      super
    end
  end

  class BadAPIKeyError < StandardError
    def initialize(msg="It looks like you're using an invalid api key for Howareya")
      super
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
howareya-0.1.3 lib/howareya/errors.rb