dxlconsole.util module

dxlconsole.util.create_sc_error_response(error_message)

Creates an error response for the SmartClient UI with the given message

Parameters:error_message -- The error message
Returns:The SmartClient response in dict form
dxlconsole.util.create_sc_response_wrapper()

Creates a wrapper object containing the standard fields required by SmartClient responses

Returns:an initial SmartClient response wrapper