Move exception to utils so everyone can import