Exception: Cerbos::Hub::Stores::Error::NoUsableFiles

Inherits:
Error::NotOK show all
Defined in:
lib/cerbos/hub/stores/error.rb

Overview

Error thrown when Client#replace_files fails because the request didn't contain any usable files.

Instance Attribute Summary collapse

Attributes inherited from Error::NotOK

#code, #details, #metadata

Instance Attribute Details

#ignored_filesObject (readonly)

Paths of files that were provided in the request but were ignored.

Files with unexpected paths, for example hidden files, will be ignored.



33
34
35
# File 'lib/cerbos/hub/stores/error.rb', line 33

def ignored_files
  @ignored_files
end