summaryrefslogtreecommitdiffstats
path: root/vendor/xorm.io/core/error.go
blob: 1fd183483beb193a29064e4594ad6c1af4ac4a59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2019 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package core

import "errors"

var (
	// ErrNoMapPointer represents error when no map pointer
	ErrNoMapPointer = errors.New("mp should be a map's pointer")
	// ErrNoStructPointer represents error when no struct pointer
	ErrNoStructPointer = errors.New("mp should be a struct's pointer")
)