ScriptContext.Error sample not working

Issue Description

When running the sample, I get:

Error is not a valid member of ScriptService “Instance”
Stack Begin
Script ‘ServerScriptService.Script’, Line 9
Stack End

Issue Area: Documentation Content
Page URL: ScriptContext | Roblox Creator Documentation

Hi @rogeriodec_games, thanks for reporting! This will be fixed soon - there’s a small mistake where the service received with GetService is “ScriptService” when it should be “ScriptContext”.

Fixed! Thanks again for the post, @rogeriodec_games

2 Likes