Bash.EscapeError exception (Bash v0.3.0)

Copy Markdown View Source

Exception raised when a string cannot be safely escaped for a Bash context.

This occurs when escaping is not possible, such as when a heredoc delimiter appears on its own line within the content.

Summary

Types

t()

@type t() :: %Bash.EscapeError{
  __exception__: true,
  content: String.t(),
  context: integer() | String.t(),
  message: String.t(),
  reason: :delimiter_in_content
}