Skip to content

Replace panic with error #9

@geoknee

Description

@geoknee
          > I guess this panic is justified by "it should never happen"? Perhaps we should warn about the panic in the godoc?

Yup, this should be a "never happen" case. Although it wouldn't be much work to return an error instead and that would be more straightforward.

Originally posted by @lalexgap in #3 (comment)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions