Sha256: a28836f683dfacc786c347be8163c62e96866224444afaad2bed873d5b8a2455
Contents?: true
Size: 473 Bytes
Versions: 4
Compression:
Stored size: 473 Bytes
Contents
# frozen_string_literal: true module Starcall module Errors # A Custom error message, used when an incorrect region is passed. class InvalidRegion < StandardError def initialize(region:) super @region = region end def message "#{region} is not a valid region. Please consult Starcall::Regions.list for a list of valid regions." end private attr_reader :region end end end
Version data entries
4 entries across 4 versions & 1 rubygems