Sha256: 6d9eb2cee64370088fe086f5ba077490d095c92da4d319c5ed4bc44b17d71a26
Contents?: true
Size: 318 Bytes
Versions: 4
Compression:
Stored size: 318 Bytes
Contents
module RestApiClient class UnauthorizedException < StandardError attr_accessor :errors def initialize(errors) super 'You are not allowed to perform this action. Maybe you forgot to pass the authorization token?' @errors = (errors && errors.is_a?(Array)) ? errors.uniq : errors end end end
Version data entries
4 entries across 4 versions & 1 rubygems