Four functions to invoke errors