message: Fix error message may show as Object object
diff: @@ -41,6 +41,11 @@ export function getErrorMessage(error: unknown) {
  }
  return error.message
  }
  + if (typeof error === 'object') {
  + if (error && has('message', error)) {
  + return error.message as string
  + }
  + }
  return String(error)
  }
  function catchError(error: unknown) {
  