Exception: Blumquist::Errors::UnsupportedPointer

Inherits:
Blumquist::Error show all
Defined in:
lib/blumquist/errors/unsupported_pointer.rb

Instance Method Summary collapse

Constructor Details

#initialize(pointer:) ⇒ UnsupportedPointer

Returns a new instance of UnsupportedPointer.



4
5
6
7
8
9
10
11
12
13
# File 'lib/blumquist/errors/unsupported_pointer.rb', line 4

def initialize(pointer:)
  msg = %{
  Pointer '#{pointer}' is not supported. Current supported formats are:\n
    1. #/key1/key2/.../keyN
    2. path_to_file.json
    3. path_to_file.json#/key1/key2/.../keyN
  }

  super(msg)
end