Caught error when a duplicate student is attempted to be created.