Added raise osv exception snippet