Sha256: ffca5b55d178c79880187235e346cdf2a8c934dd59a4da7a6dca5a4f8a1cfd68

Contents?: true

Size: 938 Bytes

Versions: 4

Compression:

Stored size: 938 Bytes

Contents

module ValorantDailyStore
  class UnsupportedLanguage < StandardError
    def message
      "Unsupported language was specified"
    end
  end

  class AuthorizationCookiesError < StandardError
    def message
      "Couldn't get the authorization cookies"
    end
  end

  class AuthorizaionTokenError < StandardError
    def message
      "Couldn't get the authorization token"
    end
  end

  class EntitlementsTokenError < StandardError
    def message
      "Couldn't get the entitlements token"
    end
  end

  class PlayerIdError < StandardError
    def message
      "Couldn't get the player id"
    end
  end

  class SkinIdsError < StandardError
    def message
      "Couldn't get the skin ids"
    end
  end

  class OffersError < StandardError
    def message
      "Couldn't get the offers"
    end
  end

  class ValorantApiError < StandardError
    def message
      "Couldn't connect to Valorant API"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
valorant_daily_store-1.0.6 lib/valorant_daily_store/errors.rb
valorant_daily_store-1.0.5 lib/valorant_daily_store/errors.rb
valorant_daily_store-1.0.4 lib/valorant_daily_store/errors.rb
valorant_daily_store-1.0.3 lib/valorant_daily_store/errors.rb