@positronic/core 0.0.15 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/dsl/brain.js +1 -1
- package/package.json +1 -1
package/dist/src/dsl/brain.js
CHANGED
|
@@ -1124,7 +1124,7 @@ export var brain = function brain(brainConfig) {
|
|
|
1124
1124
|
var title = typeof brainConfig === 'string' ? brainConfig : brainConfig.title;
|
|
1125
1125
|
var description = typeof brainConfig === 'string' ? undefined : brainConfig.description;
|
|
1126
1126
|
if (brainNamesAreUnique && brainNames.has(title)) {
|
|
1127
|
-
throw new Error('Brain with
|
|
1127
|
+
throw new Error('Brain with title "'.concat(title, '" already exists. Brain titles must be unique.'));
|
|
1128
1128
|
}
|
|
1129
1129
|
if (brainNamesAreUnique) {
|
|
1130
1130
|
brainNames.add(title);
|