Reactor.File.FileError exception (reactor_file v0.18.3)

View Source

This exception is returned when a POSIX file error is returned by the standard library.

Summary

Functions

Create an Elixir.Reactor.File.FileError without raising it.

Is the atom a POSIX error?

Functions

exception(msg)

@spec exception(opts :: Keyword.t()) :: %Reactor.File.FileError{
  __exception__: true,
  action: term(),
  bread_crumbs: term(),
  class: term(),
  file: term(),
  message: term(),
  path: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  step: term(),
  vars: term()
}

Create an Elixir.Reactor.File.FileError without raising it.

Keys

  • :action
  • :step
  • :message
  • :file
  • :reason

is_posix(atom)

(macro)
@spec is_posix(atom()) :: Macro.output()

Is the atom a POSIX error?