commit | 053848101c107c993fc1d371e1fbd07cf59f633d | [log] [tgz] |
---|---|---|
author | Yorkie Makoto <yorkiefixer@gmail.com> | Thu Jan 25 09:58:44 2024 +0000 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Jan 31 16:13:06 2024 +0000 |
tree | 880d0aa32b2de5082ed5007b518fb054a0099d3d | |
parent | b7a10d691ba293782112a4df944bd6085b3ac593 [diff] |
Improve the error report Throwing a string causes missing error stack, this PR makes these error strings be TypeErrors to address this issue. This is an imported pull request from https://github.com/google/skia/pull/156 GitOrigin-RevId: 3e2efca7c7b3c7e4780a08126d885f5ee949e722 Change-Id: I712f8ca5628a388486a5fefdfa784cfec69e2603 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/805207 Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com> Reviewed-by: Ravi Mistry <rmistry@google.com>