s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejams
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
ScriptError
chevron_left Classes
class
ScriptError

Properties

data_objectCodedata_objectColumndata_objectFilePathdata_objectLengthdata_objectLinedata_objectMessagedata_objectStart
ScriptError
A script failure, with a UTF-16 source range suitable for highlighting in an editor.
class Sandbox.Script .
sealedSandbox.Engine

data_object Properties 7

Code
string
A stable identifier for the kind of failure.
Column
int
The one-based source column, or zero when no location is available.
FilePath
string
The originating script filename, or an empty string for anonymous source.
Length
int
The length of the affected source range.
Line
int
The one-based source line, or zero when no location is available.
Message
string
A description of the failure.
Start
int
The first character of the affected source range.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter