Unified error envelope for SDK operations.
All public tuple-based APIs return {:error, %AmpSdk.Error{}} for consistent
pattern matching.
Summary
Types
@type kind() ::
:cli_not_found
| :command_failed
| :command_timeout
| :command_execution_failed
| :stream_start_failed
| :transport_error
| :parse_error
| :invalid_message
| :invalid_configuration
| :execution_failed
| :no_result
| :task_timeout
| :task_exit
| :unknown
Functions
@spec new(kind(), String.t(), [normalize_opt()]) :: t()
@spec normalize(term(), [normalize_opt()]) :: t()