TaskBunny v0.1.0-rc.2 TaskBunny.Message
Functions that work on TaskBunny messages.
It’s a semi private module used by Job or Worker. You shouldn’t have to deal with it normally.
However in case you need to encode/decode TaskBunny messages, this module will help.
Summary
Functions
Add an error log to message body
Decode message body in JSON to map data
Similar to decode/1 but raises an exception on error
Encode message body in JSON with job and argument
Similar to encode/2 but raises an exception on error
Returns a number of errors occurred for the message
Functions
Add an error log to message body.
Decode message body in JSON to map data.
Similar to decode/1 but raises an exception on error.
Encode message body in JSON with job and argument.
Similar to encode/2 but raises an exception on error.
Returns a number of errors occurred for the message.