AWS Lambda Elixir Runtime v0.1.0 ElixirRuntime.Monitor.Error View Source
This module defines the Error struct which is used to communicate runtime errors to the Lambda Runtime Service.
Link to this section Summary
Functions
Build an Error struct from a runtime error
Build an Error from an unknown process-exit reason
Link to this section Types
Link to this section Functions
Build an Error struct from a runtime error
Link to this function
from_exit_reason(error_type, reason)
View Source
from_exit_reason(error_type(), {atom(), list()}) :: error()
from_exit_reason(error_type(), term()) :: error()
Build an Error from an unknown process-exit reason