title: AWS Lambda GoLang Errors
body: <p>Is it OK to <code>panic()</code> when failed to create AWS session?
  As an opposite, I can just return the error from my handler function (in this case I have to create the session in the handler code, but not in the <code>init()</code>).</p>
  
  <p>The docs say</p>
  
  <blockquote>
    <p>Lambda will re-create the function automatically</p>
  </blockquote>
  
  <p>Does it mean the panic always causes the cold-start and is preferred to return error from the handler?</p>