Liking cljdoc? Tell your friends :D

wagoe.observability.errors.shell.adapters.no-op

No-op error reporting adapter that safely ignores all error reporting operations.

This adapter implements all error reporting protocols but performs no actual error reporting, making it safe for feature modules to use error reporting protocols even when error reporting is disabled or not configured.

No-op error reporting adapter that safely ignores all error reporting operations.

This adapter implements all error reporting protocols but performs no actual
error reporting, making it safe for feature modules to use error reporting
protocols even when error reporting is disabled or not configured.
raw docstring

create-error-contextclj

(create-error-context)
(create-error-context _config)

Creates a no-op error context instance.

Args: config - Configuration map (ignored for no-op implementation)

Returns: IErrorContext instance that ignores all context operations

Creates a no-op error context instance.

Args:
  config - Configuration map (ignored for no-op implementation)

Returns:
  IErrorContext instance that ignores all context operations
sourceraw docstring

create-error-filterclj

(create-error-filter)
(create-error-filter _config)

Creates a no-op error filter instance.

Args: config - Configuration map (ignored for no-op implementation)

Returns: IErrorFilter instance that denies all error reporting

Creates a no-op error filter instance.

Args:
  config - Configuration map (ignored for no-op implementation)

Returns:
  IErrorFilter instance that denies all error reporting
sourceraw docstring

create-error-reporterclj

(create-error-reporter)
(create-error-reporter _config)

Creates a no-op error reporter instance.

Args: config - Configuration map (ignored for no-op implementation)

Returns: IErrorReporter instance that ignores all error reporting calls

Creates a no-op error reporter instance.

Args:
  config - Configuration map (ignored for no-op implementation)

Returns:
  IErrorReporter instance that ignores all error reporting calls
sourceraw docstring

create-error-reporting-componentclj

(create-error-reporting-component)
(create-error-reporting-component _config)

Creates a combined no-op error reporting component that implements all protocols.

This is the recommended component for system wiring, as it provides a single component that application code can use for all error reporting needs.

Args: config - Configuration map (ignored for no-op implementation)

Returns: Component implementing IErrorReporter, IErrorContext, IErrorFilter, and IErrorReportingConfig

Creates a combined no-op error reporting component that implements all protocols.

This is the recommended component for system wiring, as it provides
a single component that application code can use for all error reporting needs.

Args:
  config - Configuration map (ignored for no-op implementation)

Returns:
  Component implementing IErrorReporter, IErrorContext, 
  IErrorFilter, and IErrorReportingConfig
sourceraw docstring

create-error-reporting-componentsclj

(create-error-reporting-components)
(create-error-reporting-components config)

Creates a complete set of no-op error reporting components.

This is useful for testing or when error reporting is completely disabled.

Args: config - Configuration map (ignored for no-op implementation)

Returns: Map with all error reporting component instances: {:reporter IErrorReporter :context IErrorContext :filter IErrorFilter :config IErrorReportingConfig}

Creates a complete set of no-op error reporting components.

This is useful for testing or when error reporting is completely disabled.

Args:
  config - Configuration map (ignored for no-op implementation)

Returns:
  Map with all error reporting component instances:
  {:reporter  IErrorReporter
   :context   IErrorContext
   :filter    IErrorFilter
   :config    IErrorReportingConfig}
sourceraw docstring

create-error-reporting-configclj

(create-error-reporting-config)
(create-error-reporting-config _config)

Creates a no-op error reporting config instance.

Args: config - Configuration map (ignored for no-op implementation)

Returns: IErrorReportingConfig instance that reports disabled state

Creates a no-op error reporting config instance.

Args:
  config - Configuration map (ignored for no-op implementation)

Returns:
  IErrorReportingConfig instance that reports disabled state
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close