github.com/tursom/GoCollections@v0.3.10/exceptions/WrongCallHostException.go (about) 1 /* 2 * Copyright (c) 2022 tursom. All rights reserved. 3 * Use of this source code is governed by a GPL-3 4 * license that can be found in the LICENSE file. 5 */ 6 7 package exceptions 8 9 type WrongCallHostException struct { 10 RuntimeException 11 } 12 13 func NewWrongCallHostException(message string) WrongCallHostException { 14 return WrongCallHostException{ 15 *NewRuntimeException(message, DefaultExceptionConfig().AddSkipStack(1). 16 SetExceptionName("github.com.tursom.GoCollections.exceptions.WrongCallHostException")), 17 } 18 }