Skip to content

Instantly share code, notes, and snippets.

@sagax
Created April 6, 2019 22:22
Show Gist options
  • Save sagax/fe178cf1db02e95758f8701bf48da4c6 to your computer and use it in GitHub Desktop.
Save sagax/fe178cf1db02e95758f8701bf48da4c6 to your computer and use it in GitHub Desktop.
catch all unknown method
rename unknown _unknown
proc unknown {args} {
puts stderr "Hey, wrong method: $args"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment