GoCollections/exceptions/ElementNotFound.go

13 lines
370 B
Go
Raw Normal View History

2021-05-21 09:41:58 +08:00
package exceptions
type ElementNotFoundException struct {
2021-05-21 10:31:49 +08:00
RuntimeException
2021-05-21 09:41:58 +08:00
}
2022-03-31 01:22:30 +08:00
func NewElementNotFoundException(message string, config *ExceptionConfig) *ElementNotFoundException {
2022-03-21 11:02:41 +08:00
return &ElementNotFoundException{
2022-04-02 15:25:35 +08:00
NewRuntimeException(message, config.AddSkipStack(1).
SetExceptionName("github.com.tursom.GoCollections.exceptions.ElementNotFoundException")),
2021-05-21 09:41:58 +08:00
}
}