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