Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/go-telegram/bot
/ Error
Method
Error
errors.go:36–38 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
}
35
36
func
(e *MigrateError) Error() string {
37
return
fmt.Sprintf(
"%s: migrate_to_chat_id %d"
, e.Message, e.MigrateToChatID)
38
}
39
40
func
IsMigrateError(err error) bool {
41
_, ok := err.(*MigrateError)
Callers
15
TestMigrateError
Function · 0.95
Test_buildRequestForm
Function · 0.45
Test_match_func
Function · 0.45
Test_match_exact
Function · 0.45
Test_match_caption_exact
Function · 0.45
Test_match_prefix
Function · 0.45
Test_match_contains
Function · 0.45
Test_match_regexp
Function · 0.45
Test_match_invalid_type
Function · 0.45
Test_match_exact_game
Function · 0.45
Test_match_command_start
Function · 0.45
TestWebhookHandler_ReadBodyError
Function · 0.45
Calls
no outgoing calls
Tested by
15
TestMigrateError
Function · 0.76
Test_buildRequestForm
Function · 0.36
Test_match_func
Function · 0.36
Test_match_exact
Function · 0.36
Test_match_caption_exact
Function · 0.36
Test_match_prefix
Function · 0.36
Test_match_contains
Function · 0.36
Test_match_regexp
Function · 0.36
Test_match_invalid_type
Function · 0.36
Test_match_exact_game
Function · 0.36
Test_match_command_start
Function · 0.36
TestWebhookHandler_ReadBodyError
Function · 0.36