hauleth / hauleth/enough

The return type of init/1 differs from what is expected for the callback in the gen_server behaviour

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Erlang
Stars
8
Forks
2
PR merge metrics
No merged PRs in 30d

Description

# Problem
- When i runned the dialyzer it got the following warning
```
_build/default/lib/enough/src/enough.erl
Line 265 Column 1: The inferred return type of init/1 ('ok') has nothing in common with 'ignore' | {'error',_} | {'ok',_} | {'stop',_} | {'ok',_,'hibernate' | 'infinity' | non_neg_integer() | {'continue',_}}, which is the expected return type for the callback of gen_server behaviour
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.