Skip to content

Commit

Permalink
constants file
Browse files Browse the repository at this point in the history
  • Loading branch information
tinybike committed Aug 20, 2014
1 parent 22404bd commit ad50b94
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/constants.jl
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit ad50b94

Please sign in to comment.