Ai
1 Star 0 Fork 0

nuokwan/chromedp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
errors.go 1.26 KB
一键复制 编辑 原始数据 按行查看 历史
Kenneth Shaw 提交于 2019-04-25 17:58 +08:00 . Converting context message executor interface
package chromedp
// Error is a chromedp error.
type Error string
// Error satisfies the error interface.
func (err Error) Error() string {
return string(err)
}
// Error types.
const (
// ErrInvalidWebsocketMessage is the invalid websocket message.
ErrInvalidWebsocketMessage Error = "invalid websocket message"
// ErrInvalidDimensions is the invalid dimensions error.
ErrInvalidDimensions Error = "invalid dimensions"
// ErrNoResults is the no results error.
ErrNoResults Error = "no results"
// ErrHasResults is the has results error.
ErrHasResults Error = "has results"
// ErrNotVisible is the not visible error.
ErrNotVisible Error = "not visible"
// ErrVisible is the visible error.
ErrVisible Error = "visible"
// ErrDisabled is the disabled error.
ErrDisabled Error = "disabled"
// ErrNotSelected is the not selected error.
ErrNotSelected Error = "not selected"
// ErrInvalidBoxModel is the invalid box model error.
ErrInvalidBoxModel Error = "invalid box model"
// ErrChannelClosed is the channel closed error.
ErrChannelClosed Error = "channel closed"
// ErrInvalidTarget is the invalid target error.
ErrInvalidTarget Error = "invalid target"
// ErrInvalidContext is the invalid context error.
ErrInvalidContext Error = "invalid context"
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nuokwan/chromedp.git
git@gitee.com:nuokwan/chromedp.git
nuokwan
chromedp
chromedp
master

搜索帮助