Ankusa.SDK.InvalidRouteIdError exception (ankusa_sdk v0.6.0)

Copy Markdown View Source

The route id cannot be used to build a path.

Raised before any request is sent. An id that isn't a string, is empty, or is exactly . or .. is refused: URL parsers normalize those away, so get_route(client, "..") would quietly hit /admin/ and return the list page as if it were a route. Every other id is percent-encoded as one path segment, never refused.

Summary

Types

t()

@type t() :: %Ankusa.SDK.InvalidRouteIdError{
  __exception__: term(),
  message: term(),
  retryable: term()
}