Sha256: 12321f5a257f144f836ec234af24ba28af04da49f941a6e1442dc47cffd8cf3d
Contents?: true
Size: 468 Bytes
Versions: 5
Compression:
Stored size: 468 Bytes
Contents
# frozen_string_literal: true module Tikkie module Api # Tikkie base exception. class Exception < RuntimeError end # Exception when the authentication fails. class AuthenticationException < Tikkie::Api::Exception attr_reader :response, :body def initialize(response) @response = response @body = response.body message = "Authentication failure at Tikkie" super(message) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems