code: public static final Failed fail(String message, Throwable e, Object entity)
     {
        return new FailedResult(message, e, entity);
     }
docs: Create a failed {@link Result} with a message and {@link Throwable} root cause.