return errors in output channel method