# `NPM.ErrorMessage`
[🔗](https://github.com/elixir-volt/npm_ex/blob/v0.7.4/lib/npm/error_message.ex#L1)

Structured error formatting for npm operations.

Provides consistent, helpful error messages with suggestions for resolution.

# `format`

```elixir
@spec format({:error, atom()} | {:error, atom(), term()}) :: String.t()
```

Formats an error tuple into a user-friendly message.

# `retryable?`

```elixir
@spec retryable?(atom()) :: boolean()
```

Checks if an error is retryable.

# `suggestion`

```elixir
@spec suggestion(atom()) :: String.t() | nil
```

Returns a suggestion for a given error.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
