aac: return meaningful errors