error chan perm def