7.1.1.2.2.8. pycropml.transpiler.errors module

exception pycropml.transpiler.errors.PseudoCythonNotTranslatableError(message, suggestions=None, right=None, wrong=None)[source]

Bases: pycropml.transpiler.errors.PseudoError

exception pycropml.transpiler.errors.PseudoCythonTypeCheckError(message, suggestions=None, right=None, wrong=None)[source]

Bases: pycropml.transpiler.errors.PseudoError

exception pycropml.transpiler.errors.PseudoError(message, suggestions=None, right=None, wrong=None)[source]

Bases: exceptions.Exception

pycropml.transpiler.errors.beautiful_error(exception)[source]
pycropml.transpiler.errors.cant_infer_error(name, line)[source]
pycropml.transpiler.errors.tab_aware(location, code)[source]

if tabs in beginning of code, add tabs for them, otherwise spaces

pycropml.transpiler.errors.translation_error(data, location=None, code=None, wrong_type=None, **options)[source]
pycropml.transpiler.errors.type_check_error(data, location=None, code=None, wrong_type=None, **options)[source]