title: How to handle errors in serverless
body: <p>i'm doing this: </p>
  
  <pre><code>context.fail({
              message: "Invalid Token!",
              code: app.error["010"].code,
          });
  </code></pre>
  
  <p>and when i call api from postman, it is returning me:</p>
  
  <pre><code>{ 
    "errorMessage": "[object Object]"
  }
  </code></pre>
  
  <p>even i'm not sending any key named <code>errorMessage</code></p>
  
  <p>My question is, am i using correct way to return error
  if yes, why it is behaving like this
  if no, what is the correct way to handling error in serverless</p>
  
  <p>I'll be thankful.</p>