-
Notifications
You must be signed in to change notification settings - Fork 1
validation_error
Samuel Martel edited this page Oct 6, 2022
·
1 revision
Triggered when a new Sequence uses the name of an already defined sequence.
Sequence("MySequence", function(context) end)
Sequence("MySequence", function(context) end) -- Error! "MySequence" already exists.Triggered when a Sequence is defined inside another sequence.
Sequence("MySequence", function(context)
Sequence("MyOtherSequence", function(context) end) -- Error! Cannot nest sequences into other sequences!
end)Sequence("MySequence", function(context)
Test("MyTest", function(c)
Sequence("MyOtherSequence", function(context) end) -- Error! Cannot nest sequences into other sequences!
end)
end)Triggered when a Sequence that does not exist gets queried in a Requires expression.
Sequence("MySequence", function(context)
end):Requires(Sequence("Foo"):ToPass()) -- Error! No sequence called Foo!