Package io.nitric.api

Class NotFoundException

    • Constructor Detail

      • NotFoundException

        public NotFoundException​(NitricException.Code code,
                                 String message,
                                 io.grpc.StatusRuntimeException cause,
                                 io.nitric.proto.error.v1.ErrorDetails ed)
        Create a new resource NotFoundException with the given information.
        Parameters:
        code - the GRPC status code
        message - the error message
        cause - the error root cause
        ed - the structured GRPC error details