// Copyright 2018 The Gogs Authors. All rights reserved.// Use of this source code is governed by a MIT-style// license that can be found in the LICENSE file.packageerrorsimport"fmt"typeTeamNotExiststruct{TeamIDint64Namestring}funcIsTeamNotExist(errerror)bool{_,ok:=err.(TeamNotExist)returnok}func(errTeamNotExist)Error()string{returnfmt.Sprintf("team does not exist [team_id: %d, name: %s]",err.TeamID,err.Name)}