This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env escript | |
%%! -hidden -noshell -noinput | |
-mode(compile). | |
-export([ | |
init_shell_log/1 | |
]). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
send_error(ReplyTo, UUID, RoutingKey, {invalid, protobuff}) -> | |
eva_tpf:generic_error(ReplyTo, UUID, RoutingKey, [ | |
{source, 'CLIENT'}, | |
{type, <<"INVALID_PROTOBUFF_BINARY">>}, | |
{description, <<"Protobuff binary provided is invalid">>}, | |
{permanent, true} | |
]); | |
send_error(ReplyTo, UUID, RoutingKey, {invalid, props}) -> | |
eva_tpf:generic_error(ReplyTo, UUID, RoutingKey, [ | |
{source, 'CLIENT'}, |