mirror of
https://github.com/tursom/GoCollections.git
synced 2025-02-26 20:20:31 +08:00
13 lines
370 B
Go
13 lines
370 B
Go
package exceptions
|
|
|
|
type ElementNotFoundException struct {
|
|
RuntimeException
|
|
}
|
|
|
|
func NewElementNotFoundException(message string, config *ExceptionConfig) *ElementNotFoundException {
|
|
return &ElementNotFoundException{
|
|
NewRuntimeException(message, config.AddSkipStack(1).
|
|
SetExceptionName("github.com.tursom.GoCollections.exceptions.ElementNotFoundException")),
|
|
}
|
|
}
|