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