summaryrefslogtreecommitdiff
path: root/vendor/github.com/playwright-community/playwright-go/web_error.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/playwright-community/playwright-go/web_error.go')
-rw-r--r--vendor/github.com/playwright-community/playwright-go/web_error.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/vendor/github.com/playwright-community/playwright-go/web_error.go b/vendor/github.com/playwright-community/playwright-go/web_error.go
deleted file mode 100644
index b8dab79..0000000
--- a/vendor/github.com/playwright-community/playwright-go/web_error.go
+++ /dev/null
@@ -1,21 +0,0 @@
-package playwright
-
-type webErrorImpl struct {
- err error
- page Page
-}
-
-func (e *webErrorImpl) Page() Page {
- return e.page
-}
-
-func (e *webErrorImpl) Error() error {
- return e.err
-}
-
-func newWebError(page Page, err error) WebError {
- return &webErrorImpl{
- err: err,
- page: page,
- }
-}