Its docs say "An ACK error shall be detected by a transmitter whenever it does not monitor a dominant bit during the ACK slot.", but Can::transmit only enqueues a frame for transmission, so it's impossible to detect this condition for the frame passed there. Can::transmit could check if any previous frame caused an ACK error and return an error, but then its return value indicates whether a different frame was transmitted successfully.