title: How to search the error code of 'com.apple.coreaudio.avfaudio'?
body: <p>Where could I get the information of <code>com.apple.coreaudio.avfaudio</code> error codes, such as:</p>
  
  <blockquote>
    <p>Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'error -50'</p>
  </blockquote>
  
  <p>I always get an error while writing PCM buffer to <code>AVAudioFile</code>. The buffer comes from <code>AVAudioEngine</code>'s output node.</p>
  
  <p><a href="https://i.stack.imgur.com/Ppu49.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Ppu49.png" alt="enter image description here"></a></p>
  
  <p>The error:</p>
  
  <blockquote>
    <p><strong>* Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'error -50'
    *</strong> First throw call stack:
    (0x18eb46fe0 0x18d5a8538 0x18eb46eb4 0x1a8d051cc 0x1a8d731dc 0x1000d45e0 0x1000d4820 0x1a8d14654 0x1a8d146c0 0x1a8d8c26c 0x1a8d8c1fc 0x100ae5a10 0x100af1a84 0x100b001f8 0x100ae7a60 0x100af3128 0x100ae9634 0x100af5630 0x100af6f48 0x18dc0968c 0x18dc0959c 0x18dc06cb4)
    libc++abi.dylib: terminating with uncaught exception of type NSException</p>
  </blockquote>
  
  <p>Could you help me?</p>