Included default case statement for error handler