refactor: replace panic() calls with error return (#118)
We replace panic() with an error return in places where something is unimplemented. Anything that indicates a bug in the code was left as a panic, but with additional context added. Fixes #117 Signed-off-by: Aurora Gaffney <[email protected]>