public static ErrorResponse notFoundError(String message) {
        return new ErrorResponse(NOT_FOUND, errorCodes.NOT_FOUND.name(), message);
    }
A HTTP JSON response containing an error code and a message

@author bratseth
container-core/src/main/java/com/yahoo/restapi/ErrorResponse.java