aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2013-05-14 20:59:32 -0700
committerJordan Wilberding <[email protected]>2013-05-14 20:59:32 -0700
commit834fc00544e4222e5fe1713c33d16e5192de33fe (patch)
tree1ae9a327feeb420983f9a85fdb6c800900369480 /include
parentd2698281ff1b0a46b2bcf6c2579cc811a3f62500 (diff)
parentc5f0a8c9175b2d152c69f72da15e7ceff411f86b (diff)
downloadrelx-834fc00544e4222e5fe1713c33d16e5192de33fe.tar.gz
relx-834fc00544e4222e5fe1713c33d16e5192de33fe.tar.bz2
relx-834fc00544e4222e5fe1713c33d16e5192de33fe.zip
Merge pull request #2 from ericbmerritt/rename-to-relx
Relup + rename support
Diffstat (limited to 'include')
-rw-r--r--include/relx.hrl (renamed from include/relcool.hrl)11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/relcool.hrl b/include/relx.hrl
index 11a0dec..4b78ca6 100644
--- a/include/relcool.hrl
+++ b/include/relx.hrl
@@ -1,3 +1,4 @@
+
%% Copyright 2012 Erlware, LLC. All Rights Reserved.
%%
%% This file is provided to you under the Apache License,
@@ -15,13 +16,13 @@
%% under the License.
%%
--define(RCL_ERROR, 0).
--define(RCL_INFO, 1).
--define(RCL_DEBUG, 2).
+-define(RLX_ERROR, 0).
+-define(RLX_INFO, 1).
+-define(RLX_DEBUG, 2).
-%% This is the default form of error messages for the Relcool
+%% This is the default form of error messages for the Relx
%% 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(RCL_ERROR(Reason),
+-define(RLX_ERROR(Reason),
{error, {?MODULE, Reason}}).