Sha256: bdf87f01e3a2a4e5fd283b7e9037b547ad1773f2ca583c6067585d53ce83a545
Contents?: true
Size: 464 Bytes
Versions: 2
Compression:
Stored size: 464 Bytes
Contents
## # # Collection of errors used in this library # # Every time you want to raise one of these, you just go ahead and do: # # raise Nextcloud::Ruby::ConfigNotSet, 'Your param' # module Nextcloud module Ruby module Errors class Error < StandardError; end class ConfigNotSet < Error def initialize(param) msg = "Please check if you set #{param}, seems it is missing." super(msg) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nextcloud-ruby-0.1.2 | lib/nextcloud/ruby/utils/errors.rb |
nextcloud-ruby-0.1.1 | lib/nextcloud/ruby/utils/errors.rb |