When error arrive and is a know error, create an exception of their type