Snap.InvalidPathError exception (Snap v0.16.0)

Copy Markdown View Source

Represents an error when a request path is malformed or contains directory-traversal segments.

Summary

Types

t()

@type t() :: %Snap.InvalidPathError{
  __exception__: true,
  message: String.t(),
  path: term()
}