Reactor.Process.Errors.MissingMiddlewareError exception (reactor_process v0.4.2)

View Source

This exception is returned when a step wishes to access the owning PID but the Reactor.Process.Middleware middleware has not been added to the reactor.

Summary

Functions

exception(msg)

@spec exception(opts :: Keyword.t()) ::
  %Reactor.Process.Errors.MissingMiddlewareError{
    __exception__: true,
    bread_crumbs: term(),
    class: term(),
    message: term(),
    path: term(),
    splode: term(),
    stacktrace: term(),
    step: term(),
    vars: term()
  }

Create an Elixir.Reactor.Process.Errors.MissingMiddlewareError without raising it.

Keys

  • :step
  • :message