mirror of
https://github.com/tursom/GoCollections.git
synced 2025-03-23 00:10:07 +08:00
17 lines
343 B
Go
17 lines
343 B
Go
package exceptions
|
|
|
|
type ElementNotFoundException struct {
|
|
RuntimeException
|
|
}
|
|
|
|
func NewElementNotFoundException(message any, config *ExceptionConfig) *ElementNotFoundException {
|
|
config.AddSkipStack(1)
|
|
return &ElementNotFoundException{
|
|
NewRuntimeException(
|
|
message,
|
|
"exception caused ElementNotFoundException:",
|
|
config,
|
|
),
|
|
}
|
|
}
|