add FatalError Methode, refactoring Enum declaration, fix get_error methode and error_throw method