Skip to content
This repository has been archived by the owner on Dec 20, 2019. It is now read-only.

Commit

Permalink
docs(apidocs): update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Oct 20, 2018
1 parent f62b069 commit d79693f
Show file tree
Hide file tree
Showing 9 changed files with 201 additions and 92 deletions.
38 changes: 2 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,42 +63,8 @@ try {
}
```

Also `NE` comes with some commonly required Exception classes which includes.

#### DomainException
When something excepted has failed. For example image upload mismatch extension.

```javascript
throw new NE.DomainException()
```

#### InvalidArgumentException
Method arguments are invalid or incomplete.

```javascript
throw new NE.InvalidArgumentException()
```

#### RangeException
Error caused due to arithmetic operations.

```javascript
throw new NE.RangeException()
```

#### RuntimeException
An error occured after all required checks.

```javascript
throw new NE.RuntimeException()
```

#### HttpException
Http specific errors.

```javascript
throw new NE.HttpException()
```
## API Docs
Access complete API Docs [here](https://poppinss.github.io/node-exceptions/docs/index.html)

[appveyor-image]: https://img.shields.io/appveyor/ci/thetutlage/node-exceptions/master.svg?style=flat-square

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d79693f

Please sign in to comment.