harness-drone/operator/manager/rpc/error.go
2019-03-13 14:47:47 -07:00

16 lines
317 B
Go

// Copyright 2019 Drone.IO Inc. All rights reserved.
// Use of this source code is governed by the Drone Non-Commercial License
// that can be found in the LICENSE file.
// +build !oss
package rpc
type serverError struct {
Status int
Message string
}
func (s *serverError) Error() string {
return s.Message
}