Module lib_xch::handler [] [src]

Structs

ErrorHandler

ErrorHandler returns when handler::handler_api failed somehow. CAUTION: parser_result might empty if parser is failed.

Enums

ErrorCases

All the Error Types.

Functions

handler_api

the API balances the Chemical Equation by equation. If the equation can balance, function would return a i32 vector which contains the answer. If not, it would return handler::ErrorHandler which contains Delta-3 the parser's result and error message.