Handle ValueError when setting incorrect type
authorJeremy Stanley <fungi@yuggoth.org>
Sun, 2 Jul 2017 15:11:17 +0000 (15:11 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sun, 2 Jul 2017 15:11:17 +0000 (15:11 +0000)
commitec299a43ba206f4b5426dad9590d400d42ea3e28
tree07c30c8c905b3a0fe6407b41134c853523b550b5
parent9d7268dbda760522aaef21b6f40c9b3358a20ffb
Handle ValueError when setting incorrect type

Trap for ValueError exceptions when attempting to pass a value to
the set command with an incorrect data type for the facet being set,
returning a clear failure message to the calling user.
mudpy/misc.py
mudpy/tests/selftest.py