crypto:start() return value differs from manual

Ulf Wiger (AL/EAB) ulf.wiger@REDACTED
Thu Mar 10 11:31:08 CET 2005


crypto:start() -> ok.

is what the manual states (OTP R10B-2), but the function can also return {error, {already_started,crypto}}.

>From crypto.erl:

start() ->
    application:start(crypto).

The manual for application says:

start(Application) -> ok | {error, Reason} 


I have made no patch. The code or the manual should be corrected.


Regards,
Uffe



More information about the erlang-bugs mailing list