Sha256: 7db191ffeba39edaad33948fa183113ed4aaaec275b80bd196e78a2b0b769222

Contents?: true

Size: 269 Bytes

Versions: 8

Compression:

Stored size: 269 Bytes

Contents

module ButterCMS
  # Error is the top level error raised by ButterCMS
  class Error < StandardError
  end

  # NotFound is raised when a resource cannot be found
  class NotFound < Error
  end

  class Unauthorized < Error
  end
  
  class BadRequest < Error
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
buttercms-ruby-zwg-2.5.7 lib/buttercms/errors.rb
buttercms-ruby-zwg-2.5.2 lib/buttercms/errors.rb
buttercms-ruby-zwg-2.5.3 lib/buttercms/errors.rb
buttercms-ruby-zwg-2.4.2 lib/buttercms/errors.rb
buttercms-ruby-zwg-2.4.1 lib/buttercms/errors.rb
zuzanky-buttercms-ruby-2.4 lib/buttercms/errors.rb
buttercms-ruby-2.4 lib/buttercms/errors.rb
buttercms-ruby-2.3 lib/buttercms/errors.rb