-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raises errors if attempt to use function or data backgrounds (#252)
* Added errors if attempt to use function or data backgrounds * added newline at end of file * fixed tests * fixed not implemented error * fixed some tests unnecessarily commented out
- Loading branch information
Showing
3 changed files
with
31 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
classdef notImplemented < MException | ||
properties (Constant, Hidden) | ||
errorID = 'RAT:notImplemented'; | ||
end | ||
methods | ||
function obj = notImplemented(message) | ||
arguments | ||
message {mustBeTextScalar} = 'This functionality is not yet supported' | ||
end | ||
obj = obj@MException(exceptions.notImplemented.errorID, message); | ||
end | ||
end | ||
end |