aboutsummaryrefslogblamecommitdiffstats
path: root/examples/error_hook/src/error_hook_sup.erl
blob: f92c15642d295db4e847c55ed5695427dbd8de2c (plain) (tree)






















                                                             
%% Feel free to use, reuse and abuse the code in this file.

%% @private
-module(error_hook_sup).
-behaviour(supervisor).

%% API.
-export([start_link/0]).

%% supervisor.
-export([init/1]).

%% API.

-spec start_link() -> {ok, pid()}.
start_link() ->
	supervisor:start_link({local, ?MODULE}, ?MODULE, []).

%% supervisor.

init([]) ->
	Procs = [],
	{ok, {{one_for_one, 10, 10}, Procs}}.