better error message
rename type to handler_type for clarity
rename exp to exported content for clarity
split line for clarity
split line for clarity