Create a custom error for resource not found scenario
error metadata will include resource
error message
name of the resource
source error (if any)
Optional
causeadditional metadata (if any)
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stack
SPDX-License-Identifier: Apache-2.0