Get origin of an error