aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2014-11-03 13:02:18 -0800
committerJordan Wilberding <[email protected]>2014-11-03 13:02:18 -0800
commit9d550533bb1440e93f4a014cb6303f427a51f2dc (patch)
tree346016bc34896d7919806ee2e3fa05564c4283a1 /include
parent5368a5cd945aa3dd0723258cdad051aa8f7b4920 (diff)
parent04ea67a7eded3cc296e27ce1a9ae766a638035df (diff)
downloadrelx-9d550533bb1440e93f4a014cb6303f427a51f2dc.tar.gz
relx-9d550533bb1440e93f4a014cb6303f427a51f2dc.tar.bz2
relx-9d550533bb1440e93f4a014cb6303f427a51f2dc.zip
Merge pull request #236 from tsloughter/format_error2
Some changes for providers as I work on rebar3
Diffstat (limited to 'include')
-rw-r--r--include/relx.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/relx.hrl b/include/relx.hrl
index 3194873..cccd7bb 100644
--- a/include/relx.hrl
+++ b/include/relx.hrl
@@ -16,6 +16,7 @@
%%
-include_lib("erlware_commons/include/ec_cmd_log.hrl").
+-include_lib("providers/include/providers.hrl").
-define(RLX_ERROR, ?EC_ERROR).
-define(RLX_WARN, ?EC_WARN).
@@ -26,5 +27,4 @@
%% system. It is expected that everything that returns an error use
%% this and that they all expose a format_error/1 message that returns
%% an iolist.
--define(RLX_ERROR(Reason),
- {error, {?MODULE, Reason}}).
+-define(RLX_ERROR(Reason), ?PRV_ERROR(Reason)).