Exception: Confium::SecureBytes::ClearedError

Inherits:
Error
  • Object
show all
Defined in:
lib/confium/secure_bytes.rb

Overview

Raised when #bytes is called after #clear.

Instance Attribute Summary

Attributes inherited from Error

#details

Instance Method Summary collapse

Methods inherited from Error

#to_h

Constructor Details

#initialize(message = 'SecureBytes already cleared') ⇒ ClearedError

Returns a new instance of ClearedError.



21
22
23
# File 'lib/confium/secure_bytes.rb', line 21

def initialize(message = 'SecureBytes already cleared')
  super(message, details: {})
end