Skip to content

Commit

Permalink
Docs: Cleanup registry error message subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Oct 21, 2020
1 parent d51c6eb commit c26ebcb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/api/registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,31 +49,31 @@ If a `registryInstance` is passed, nothing will be returned. If no arguments are

### Errors

#### Incorrect Parameter
#### Incorrect parameter

When a constructor (instead of an instance) is passed as `registryInstance`, throws an error with the message:

> Custom registries must be instantiated, but it looks like you passed a constructor.
#### Missing get Method
#### Missing `get` method

When a registry without a `get` method is passed as `registryInstance`, throws an error with the message:

> Custom registry must have `get` function.
#### Missing set Method
#### Missing `set` method

When a registry without a `set` method is passed as `registryInstance`, throws an error with the message:

> Custom registry must have `set` function.
#### Missing init Method
#### Missing `init` method

When a registry without an `init` method is passed as `registryInstance`, throws an error with the message:

> Custom registry must have `init` function"
#### Missing tasks Method
#### Missing `tasks` method

When a registry without a `tasks` method is passed as `registryInstance`, throws an error with the message:

Expand Down

0 comments on commit c26ebcb

Please sign in to comment.