S06005

Error Code

S06005

Error Message

Not allowed to overwrite existing built-in functions/procedures. RefId: S06005

Probable Causes

If you define a function with the same name as an existing built-in function, this error will be reported. For example, now is a built-in function, but the following code attempts to define a function with the same name:

def now() {
    return "I don't know" 
}

Solutions

Avoid using a built-in function name when defining a function.