Move exception to own file and ignore vendor dir.