Return Result from all methods that take a prefix length argument
krisprice opened this issue · comments
krisprice commented
Change new() and subnets() to return Result in the case where the prefix length is invalid. Create a new error type for invalid prefix lengths.
krisprice commented
- Will need to address the
subnets()
method also.
krisprice commented
- Investigate passing through errors from new() to trunc() and the ergonomics of this.