From ad50b94dc091deea471bc90f6aa0717a24803e21 Mon Sep 17 00:00:00 2001 From: Jack Peterson Date: Wed, 20 Aug 2014 02:33:38 -0700 Subject: [PATCH] constants file --- src/constants.jl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/constants.jl diff --git a/src/constants.jl b/src/constants.jl new file mode 100644 index 0000000..371f252 --- /dev/null +++ b/src/constants.jl @@ -0,0 +1,14 @@ +const RESULT = (ASCIIString => Int8)[ + "SUCCEEDED" => 1, + "NOTRANSITION" => 2, + "CANCELLED" => 3, + "PENDING" => 4, +] + +const ERRORS = (ASCIIString => Int16)[ + "INVALID_TRANSITION" => 100, + "PENDING_TRANSITION" => 200, + "INVALID_CALLBACK" => 300, +] + +const ASYNC = "async"