code: public void prepareRequestServerErrorHandlingIfApi(ActionRuntime runtime, ActionResponseReflector reflector) {
          if (runtime.isApiExecute()) {
              registerServerErrorHandler(runtime, reflector);
          }
      }
docs: ------------