mirror of
https://github.com/tursom/GoCollections.git
synced 2026-09-02 05:07:54 +08:00
17 lines
351 B
Go
17 lines
351 B
Go
package exceptions
|
|
|
|
type ElementNotFoundException struct {
|
|
RuntimeException
|
|
}
|
|
|
|
func NewElementNotFoundException(message interface{}, config *ExceptionConfig) *ElementNotFoundException {
|
|
config.AddSkipStack(1)
|
|
return &ElementNotFoundException{
|
|
NewRuntimeException(
|
|
message,
|
|
"exception caused ElementNotFoundException:",
|
|
config,
|
|
),
|
|
}
|
|
}
|