Sha256: 9706f781bb73b70e27444762922ec8d4bf5ebdd01cf1b33de3b0cb939913c70d

Contents?: true

Size: 460 Bytes

Versions: 12

Compression:

Stored size: 460 Bytes

Contents

module Slosilo
  class Error < RuntimeError
    # An error thrown when attempting to store a private key in an unecrypted
    # storage. Set Slosilo.encryption_key to secure the storage or make sure
    # to store just the public keys (using Key#public).
    class InsecureKeyStorage < Error
      def initialize msg = "can't store a private key in a plaintext storage"
        super
      end
    end

    class TokenValidationError < Error
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
slosilo-3.0.2.pre.224 lib/slosilo/errors.rb
slosilo-3.0.2.pre.5 lib/slosilo/errors.rb
slosilo-3.0.2.pre.44 lib/slosilo/errors.rb
slosilo-3.0.2.pre.42 lib/slosilo/errors.rb
slosilo-3.0.2.pre.2 lib/slosilo/errors.rb
slosilo-3.0.2.pre.35 lib/slosilo/errors.rb
slosilo-0.0.0 lib/slosilo/errors.rb
slosilo-3.0.1 lib/slosilo/errors.rb
slosilo-3.0.0 lib/slosilo/errors.rb
slosilo-2.2.2 lib/slosilo/errors.rb
slosilo-2.2.1 lib/slosilo/errors.rb
slosilo-2.1.1 lib/slosilo/errors.rb