# Welcome to unwrapit

[![Github Repo](https://camo.githubusercontent.com/e83dfdfb23b69cd7cf6e7a77f6500eb4a01c12cc1adc08f3708fc3627f77abe5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6d75736963712f756e777261706974)](https://github.com/musicq/unwrapit)[![npm package](https://img.shields.io/npm/v/unwrapit.svg)](https://npmjs.com/package/unwrapit)

[`unwrapit`](https://github.com/musicq/unwrapit) provides a way to handle errors in JS/TS gracefully and intuitively.

### Github

<https://github.com/musicq/unwrapit>

## Quick links

{% content-ref url="/pages/CALWSY44HfviQmCZeWSi" %}
[Why use it?](/unwrapit/intro/why-use-it.md)
{% endcontent-ref %}

{% content-ref url="/pages/T2L2SEy5sHSqDxiz9RkU" %}
[Getting Started](/unwrapit/intro/getting-started.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://musicq.gitbook.io/unwrapit/welcome-to-unwrapit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
