chan error must have a buffer