Fixed Error Declaration

*error was converted to *current_error