mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
SCRIPT: FRC_ replacements
This commit is contained in:
committed by
Peter Johnson
parent
824f36f63a
commit
928ff20695
@@ -20,7 +20,7 @@ classes:
|
||||
cpp_code: |
|
||||
[](py::str &key, std::shared_ptr<wpi::util::Sendable> data) {
|
||||
if (!data) {
|
||||
throw FRC_MakeError(err::NullParameter, "{}", "value");
|
||||
throw WPILIB_MakeError(err::NullParameter, "{}", "value");
|
||||
}
|
||||
|
||||
// convert key to a raw string so that we can create a StringRef
|
||||
|
||||
Reference in New Issue
Block a user