Correcting which error type is raised and spiffing up signature variable name.