message: fix(core): isHttpError + isHttpRequestError checks for undefined error
diff: @@ -30,11 +30,11 @@ export class HttpRequestError extends NamedError {
  }
  }
  -export const isHttpError = (error: Error): error is HttpError =>
  - error.name === HttpErrorType.HTTP_ERROR;
  +export const isHttpError = (error: Error | undefined): error is HttpError =>
  + error?.name === HttpErrorType.HTTP_ERROR;
  -export const isHttpRequestError = (error: Error): error is HttpRequestError =>
  - error.name === HttpErrorType.HTTP_REQUEST_ERROR;
  +export const isHttpRequestError = (error: Error | undefined): error is HttpRequestError =>
  + error?.name === HttpErrorType.HTTP_REQUEST_ERROR;
  export const unexpectedErrorWhileSendingErrorFactory = (error: Error) => {
  const message = `An unexpected error ${chalk.red(`"${error.message}"`)} occured while sending an error response. Please check your error effect.`;
  