json: Use `NoConfigFound` exception when no config found
Throw a `NoConfigFound` exception when a JSON config that's not optional
is not found. This exception should be caught and loading of the fan
app's configuration should wait for the compatible interfacesAdded
signal when the JSON config is not found in the override or default
locations.
Any other exceptions (i.e. JSON parsing exceptions) are not caught
during the parsing of those JSON config files by this `NoConfigFound`
exception.
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: I296a7a03c854459dc2439bed560511b6b819e4f7
1 file changed