File: errors.go

package info (click to toggle)
golang-github-oschwald-maxminddb-golang-v2 2.0.0~beta10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,120 kB
  • sloc: perl: 557; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 427 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
package maxminddb

import "github.com/oschwald/maxminddb-golang/v2/internal/mmdberrors"

type (
	// InvalidDatabaseError is returned when the database contains invalid data
	// and cannot be parsed.
	InvalidDatabaseError = mmdberrors.InvalidDatabaseError

	// UnmarshalTypeError is returned when the value in the database cannot be
	// assigned to the specified data type.
	UnmarshalTypeError = mmdberrors.UnmarshalTypeError
)